using System;

namespace jSLCore.Client.Presentation.BaseControl.DialogMessage
{
    public class ErrorBox : jMessageBox
    {
        #if SILVERLIGHT
        public static void ShowDialog(string message)
        {
            ShowDialog(message,null);
        }
        #endif

        public static void ShowDialog(string message,BaseControl parent)
        {
            new ErrorBox(message).ShowDialog(parent);
        }

        public ErrorBox(string message) : base(message, jMessageBoxIconType.Error)
        {

        }
    }
}